﻿using System.Text;

namespace Cmpp.Client.Cmpp3Message.Utility {
    internal static class GlobalSettings {
        private static readonly Encoding defaultEncoding = Encoding.ASCII;
        private static readonly Encoding ucs2Encoding = new UnicodeEncoding(true, true);
        private static readonly Encoding gbkEncoding = Encoding.GetEncoding("GBK");

        public static Encoding DefaultEncoding {
            get {
                return defaultEncoding;
            }
        }

        public static Encoding UCS2Encoding {
            get {
                return ucs2Encoding;
            }
        }

        public static Encoding GBKEncoding {
            get {
                return gbkEncoding;
            }
        }
    }
}